aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/invoice/[amount].js
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-30 00:41:39 -0600
committersecondl1ght <[email protected]>2022-07-30 00:41:39 -0600
commit8b0d28fecb0e38ac9c85e5e3e7edecc857773f51 (patch)
tree589a390b868185dbf7a7924f852da082f128f4b9 /src/routes/invoice/[amount].js
parentb972aa21389c20ab9da1a627612bbc1dafeec366 (diff)
downloadcoinos-ui-8b0d28fecb0e38ac9c85e5e3e7edecc857773f51.tar.gz
coinos-ui-8b0d28fecb0e38ac9c85e5e3e7edecc857773f51.zip
format
Diffstat (limited to 'src/routes/invoice/[amount].js')
-rw-r--r--src/routes/invoice/[amount].js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/invoice/[amount].js b/src/routes/invoice/[amount].js
index f75a1672..f9b31211 100644
--- a/src/routes/invoice/[amount].js
+++ b/src/routes/invoice/[amount].js
@@ -4,10 +4,10 @@ const username = 'bob',
network = 'lightning';
export async function GET({ params }) {
- let { amount } = params;
- console.log("AMT", amount);
+ let { amount } = params;
+ console.log('AMT', amount);
let { text } = await post('/lightning/invoice', { amount });
- console.log("TXT", text);
+ console.log('TXT', text);
await post('/invoice', { invoice: { text, network }, user: { username } });
return { body: { amount, text } };